package com.jingdianjichi.subject.application.controller;

import org.elasticsearch.action.DocWriteRequest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description: 自定义注解+切面记录请求的出入参数
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-08-05 17:06
 *
 * @author wanglianyun
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OpLog {

    public OpType opType();

    public String opItem();

    public String opParams();


    /**
     * 传入特殊的参数，比如id
     */
//    public String specialParam();
}
